package com.qy.service;

import com.qy.model.Member;
import com.qy.model.PolicyOrder;
import com.qy.base.core.Service;

import java.util.List;
import java.util.Map;


/**
 * Created by zaq on 2018/07/10.
 */
public interface PolicyOrderService extends Service<PolicyOrder> {
    public Integer selectVisibleState(Integer user_id, Integer goods_id, Integer goods_type);

    public List<Map> selectPolicyOrderList(PolicyOrder policyOrder);

    public List<Map> seePolicyOrder(Integer id);

    public void getPhone(Integer id);

    public List<PolicyOrder> selectPolicyOrderListByUserId(Member member);

    public List<Map> profit(Integer id , Integer buy_type);
}
